import org.cloudbus.cloudsim.Cloudlet;
import org.cloudbus.cloudsim.UtilizationModel;


public class CustomCloudlet extends Cloudlet {

	private final long minimumMemory;//minimum amount of Memory need to execute cloudlet
	private final long minimumStorage;//minimum amount of storage need to execute cloudlet
	private long deadline;
	public CustomCloudlet(int cloudletId, long cloudletLength, int pesNumber, 
			long cloudletFileSize, long cloudletOutputSize,
			UtilizationModel utilizationModelCpu,UtilizationModel utilizationModelRam, UtilizationModel utilizationModelBw, 
			long minMemory, long minStorage, long deadline) {
		super(cloudletId, cloudletLength, pesNumber, cloudletFileSize,
				cloudletOutputSize, utilizationModelCpu, utilizationModelRam,
				utilizationModelBw);
		minimumMemory=minMemory;
		minimumStorage=minStorage;
		this.setDeadline(deadline);
		// TODO Auto-generated constructor stub
	}

	public long getMinimumMemory() {
		return minimumMemory;
	}

	public long getMinimumStorage() {
		return minimumStorage;
	}

	public long getDeadline() {
		return deadline;
	}

	private void setDeadline(long deadline) {
		this.deadline = deadline;
	}
	
	

}
